package com.qpkj.oms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qpkj.common.annotation.Excel;
import com.qpkj.common.core.domain.BaseEntity;

/**
 * 补数记录对象 oms_complement_record
 * 
 * @author ruoyi
 * @date 2023-02-18
 */
public class OmsComplementRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 任务id */
    @Excel(name = "任务id")
    private Long taskId;

    /** 物料id */
    @Excel(name = "物料id")
    private Long productId;
    /** 物料名称 */
    private String productName;
    /** 物料编号 */
    private String productNo;
    /** 改变数量 */
    private Long changeNum;
    /** 颜色 */
    private String productColour;
    /** 规格 */
    private String productSku;
    /** 关联合同编号 */
    private String contractNo;
    /** 关联合同名称 */
    private String contractName;

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public Long getChangeNum() {
        return changeNum;
    }

    public void setChangeNum(Long changeNum) {
        this.changeNum = changeNum;
    }

    public String getProductColour() {
        return productColour;
    }

    public void setProductColour(String productColour) {
        this.productColour = productColour;
    }

    public String getProductSku() {
        return productSku;
    }

    public void setProductSku(String productSku) {
        this.productSku = productSku;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("productId", getProductId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
                .append("productName", getProductName())
                .append("productNo", getProductNo())
                .append("changeNum", getChangeNum())
                .append("productColour", getProductColour())
                .append("productSku", getProductSku())
                .append("contractNo",getContractNo())
                .append("contractName",getContractName())
            .toString();
    }
}
